
import React, { useEffect, useState } from 'react'
import { InfiniteScroll } from 'antd-mobile'
import { AuthRoute } from '../web/auth';
import { webSend } from '../web/util';

export const MineMoneyPage: React.FC<{}> = ({ }) => {
    const [hasMore, setHasMore] = useState(true)
    async function loadMore() {
        setHasMore(false)
    }
    useEffect(() => {
        webSend('HAS_BACK', true)
    }, [])
    return <AuthRoute>
        <div className='flex flex-col h-full'>
            <InfiniteScroll loadMore={loadMore} hasMore={hasMore} />
        </div>
    </AuthRoute>
}
